<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="org.apache.commons.codec.binary.Base64"%>
<%@ page import="com.ebao.gs.integration.http.net3.DefaultConnectService"%>
<%
DefaultConnectService dcs = (DefaultConnectService) DefaultConnectService.getInstance();
String proxy = new String( Base64.encodeBase64("ntlm:shisa01.ebaotech.com:8080:ralph.jiang:Ebaotech2012:SH02020564".getBytes("UTF-8")), "UTF-8");
            //这里输出的就是配置文件里的代理配置
out.println("sms.connect.proxy=" + proxy);
dcs.setHttpProxy(proxy);
String s = dcs.doGet("http://www.baidu.com");
out.print(s);



%>